import http from '@/utils/request'

const apiBefore = '/web/accounting'

export const accounting = {
  getAccountingList: params => {
    return http.get(`${apiBefore}/accounting-pmr-taap/list`, { params })
  },
  getAccountingData: params => {
    return http.get(`${apiBefore}/quick-books-account/list-detail`, { params })
  },
  updateAccountingTaap: (params, id) => {
    // return http.put(`${apiBefore}/quick-books-account/` + id + `/update`, params)
    return http.put(`${apiBefore}/quick-books-account/update-batch`, params)
  }
}
